package com.tanhua.model.db;


import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Problem implements Serializable {

    private Integer id; //问题id
    @TableField("questionnaireId")
    private Long questionnaireId; //问卷id
    private String question; //问题内容
    private String dimension;  //问题对应维度

    @TableField(exist = false)
    private List<Option> options;

}
